af054336030644f9c1be9587c78e246f05935a8e,core/src/main/java/com/orientechnologies/orient/core/index/hashindex/local/cache/OWOWCache.java,FileFlushTask,call,#,1472

Before Change


      final PagedKey firstKey = new PagedKey(fileId, 0);
      final PagedKey lastKey = new PagedKey(fileId, Long.MAX_VALUE);

      NavigableMap<PagedKey, PageGroup> subMap = cachePages.subMap(firstKey, true, lastKey, true);
      Iterator<Map.Entry<PagedKey, PageGroup>> entryIterator = subMap.entrySet().iterator();

      while (entryIterator.hasNext()) {
        Map.Entry<PagedKey, PageGroup> entry = entryIterator.next();

After Change


      final PagedKey firstKey = new PagedKey(fileId, 0);
      final PagedKey lastKey = new PagedKey(fileId, Long.MAX_VALUE);

      flushRing(cachePages.subMap(firstKey, true, lastKey, true));

      files.get(fileId).synch();
      return null;